﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BUS;
using LinQ_DTO;

namespace TemplateH4
{
    public partial class MenuLoaiSP : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            LoaiSanPhamBUS LoaiSpBus = new LoaiSanPhamBUS();
            SanPhamBUS SpBus = new SanPhamBUS();
            List<shop_loaisanpham> ListLoai = LoaiSpBus.LayLoaiSanPham();
            grvLeftMenu.DataSource = ListLoai;
            string[] temp = { "MaLoaiSanPham" };
            grvLeftMenu.DataKeyNames = temp;
            grvLeftMenu.DataBind();
        }

        protected void grvLeftMenu_SelectedIndexChanged(object sender, EventArgs e)
        {

        }
    }
}